function add(){
    axios.get("/goods/add",{
        params:{
            name:$("name").value,
            createDate:$("createDate").value,
            price:$("price").value
        }
    }).then(resp =>{
        if(resp.data == "ok"){
            location.href="/goods/index.html";
        }
    })
}